import React from 'react';
import { NavBar, WingBlank, WhiteSpace } from 'antd-mobile';

const MainLayout = (props) => {
  return (
    <div>
      <NavBar mode="light">软件1703作业提交系统</NavBar>
      <WhiteSpace size="lg" />
      <WingBlank>{props.children}</WingBlank>
    </div>
  );
};

export default MainLayout;
